package com.sunspring.zdcall.util;

import org.apache.commons.codec.digest.DigestUtils;

import java.util.Arrays;

/**
 * @Author WuLei
 * @Date 2018/12/3  12:47
 */
public class Md5Util {

    /**
     * 默认密码
     */
    public final static String DEFAULT_PWD = "e10adc3949ba59abbe56e057f20f883e";


    public static String md5(String str) {
        return DigestUtils.md5Hex(str);
    }

    public static void main(String[] args) {
        System.out.println(md5("123456"));
    }
}
